package cn.com.nes.mybatis.agent.crm.mapper;

import cn.com.nes.mybatis.agent.crm.entity.RelationOpportunity;
import cn.com.nes.site.service.crm.opportunity.dto.OpportunityAndContractDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author
 */
public interface RelationOpportunityMapper extends BaseMapper<RelationOpportunity> {
    List<OpportunityAndContractDTO> getRelationOpportunity(Page<OpportunityAndContractDTO> page, @Param("mainOpportunityId") String mainOpportunityId,@Param("opportunityName") String opportunityName,@Param("customerName") String customerName);
}




